#include "Entity.h"

bool Entity::GetBone(int index, SD_Tools::Vector* vIn)
{
	if(index>=50||index<0)
		return false;
	if(*boneptr()==0)
		return false;
	BoneVector *bv=&((*boneptr())->Bones[index]);
	vIn->x=bv->x;
	vIn->y=bv->y;
	vIn->z=bv->z;
	return true;
}